﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace MyEartags.EarTag
{
    public interface IEaroverbitAppService : IApplicationService
    {
        Task<EarResult<EaroverbitDto>> CreateEaroverbit(EaroverbitDto dto);

        List<object> GetBirthStateInfoList();

        List<object> GetUseStateInfoList();

        Task<IQueryable<OverbitShowDto>> GetEaroverbits(string? overbitName, int varietyId, int birthId, int useStateId);

        Task DeleteAsync(int eid);

        Task<EaroverbitDto> GetEaroverbitData(int eid);

        Task<EarResult<EaroverbitDto>> UpdateAsync(EaroverbitDto dto);
    }
}
